<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package EverBox
 */
?>
			</div>
			<!-- END .site-content -->
		</div>
		<!-- END .container-fluid -->

	</div>
	<!-- END #page -->
	<?php wp_footer(); ?>
        <div id="footer" style="width: 100%;height:111px;background: #eee;padding-top: 20px;">
            <div class="footer-links" style="background: #4a4a4a;max-width: 1200px;margin: 0px auto;color: #AAA;height: 100%;">
                <span style="background: #428bca;float: left;height: 100%;width: 20px;"></span>
                <span style="margin: 22px 0px 0px 36px;font-size: 13px;float: left;">
                    <?php echo bloginfo('description'); ?><br />
                    爱生活,爱技术,我是<a class="a-link" href="<?php echo esc_url(home_url('/')); ?>"><?php bloginfo('name'); ?></a>&nbsp;&nbsp;
                    &copy;&nbsp;&nbsp;
                    2014 &nbsp;&nbsp;
                    <?php echo get_option('zh_cn_l10n_icp_num'); ?>&nbsp;&nbsp;
                </span>
            </div>

        </div>

        <div id="position-top-bottom">
            <i class="icon up"></i>
        </div>
<script src="http://cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.js"></script>
<link href="http://cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.css" rel="stylesheet">
        <script>
            obj_position_top_bottom = $('#position-top-bottom').hide();
            $(function(){

                wind_w = $(window).width();
                wind_h = $(window).height();
                obj_position_top_bottom.click(function(){
                    $(window).scrollTop(0);
                    $(this).hide();
                });
                $(window).scroll(function(){
                    socl_h = $(window).scrollTop();
                    if(socl_h >= 288){
                        obj_position_top_bottom.show();
                    }
                    if(socl_h < 288){
                        obj_position_top_bottom.hide();
                    }

                });
            });

var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?2fdf6f0a5a2117efea6cbaf1eebc42f5";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>

</body>
</html>
